<form action="<?php echo url_for('@reserve'); ?>" id="frmReservar">
    <input type="hidden" name="hdParkingLotId" value="<?php echo $parking_lot->getId(); ?>" />
    <h1><?php echo $parking_lot->getName(); ?></h1>
    <h3><?php echo $parking_lot->getAddress(); ?></h3>
    <table width="100%" align="left">
      <tr>
          <td align="center" colspan="2">
              <label for="rb1">Costo por hora/fracción: <b>S/.<?php echo $parking_lot->getCostPerHour(); ?></b></label>
              <input type="radio" id="rb1" name="rbReserveType" value="<?php echo $cost_per_hour_type_id; ?>" checked="checked" />
              <br />
              <label for="rb2">Costo por día: S/.<?php echo $parking_lot->getCostPerDay(); ?></label>
              <input type="radio" id="rb2" name="rbReserveType" value="<?php echo $cost_per_day_type_id; ?>" />
          </td>
      </tr>
      <tr>
          <td>Fecha de Llegada</td>
          <td>
              <input type="text" size="10" name="arrival_date" value="25/05/2014" /> datepicker
          </td>
      </tr>
      <tr>
          <td>Hora de Llegada</td>
          <td>
              <select name="arrival_time">
                  <option value="00.00">00:00</option>
                  <option value="00.15">00:15</option>
                  <option value="00.30">00:30</option>
                  <option value="00.45">00:45</option>
                  <option value="01.00">01:00</option>
                  <option value="02.15">02:15</option>
                  <option value="02.30">02:30</option>
                  <option value="02.45">02:45</option>
                  <option value="03.00">03:00</option>
              </select>
          </td>
      </tr>
      <tr>
          <td>Duración</td>
          <td>
              <select name="duration">
                  <option value="1">1 hora</option>
                  <option value="2">2 horas</option>
                  <option value="3">3 horas</option>
                  <option value="4">4 horas</option>
                  <option value="5">5 horas</option>
                  <option value="6">6 horas</option>
                  <option value="7">7 horas</option>
              </select>
          </td>
      </tr>
      <tr>
          <td>Correo Electrónico</td>
          <td>
              <?php if(!$sf_user->isAuthenticated()){ ?>
                  <input type="text" name="email" placeholder="asdf@asdf.com" />
              <?php }else{ ?>
                  <?php echo $sf_user->getAttribute('current_user')->getEmail(); ?>
              <?php } ?>
          </td>
      </tr>
      <tr>
          <td>Placa</td>
          <td>
              <?php if(!$sf_user->isAuthenticated()){ ?>
                  <input type="text" name="plate" placeholder="XYZ-123" />
              <?php }else{ ?>
                  <input type="text" name="plate" placeholder="XYZ-123 (autocomplete)" />
              <?php } ?>
          </td>
      </tr>
    </table>
    <table width="100%" align="center">
        <tr>
            <td width="50%" align="right">
                <input type="button" value="Reservar" onclick="saveReserve();" />
            </td>
            <td width="50%" align="left">
                <input type="button" value="Seguir buscando" onclick="$.fancybox.close();" />
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
function saveReserve(){
    $("#frmReservar").submit();
}
</script>